import HttpHandler from "@/handler/HttpHandler"
import {menuList} from '@/mock/menu'
export default class LoginApi {

  constructor() {
    this.http = new HttpHandler()
  }

  //获取左侧树菜单
  getLeftMenuList(data){
    // return new Promise((resolve, reject) => {
    //   resolve(menuList)
    // })
    let url = '/guns-cloud-system/menu/getLeftMenuList'
    return this.http.get(url, data)
  }
}
